package com.egao.common.module.pepesi.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 学生的100件事实体类
 * @author pyx
 */
@ApiModel(description = "学生的100件事实体信息")
@TableName("pepsi_student")
@Data
public class PepsiStudent implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("事项Id")
    private Integer pepsiId;

    @ApiModelProperty("学生ID")
    private Integer studentId;

    @ApiModelProperty("是否完成 0完成 1未完成")
    private Integer finishState;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("备注")
    private String remarks;

    @ApiModelProperty("文件一名称")
    private String fileNameOne;

    @ApiModelProperty("文件一地址")
    private String fileUrlOne;

    @ApiModelProperty("文件二名称")
    private String fileNameSecond;

    @ApiModelProperty("文件二地址")
    private String fileUrlSecond;

    @ApiModelProperty("文件三名称")
    private String fileNameThird;

    @ApiModelProperty("文件三地址")
    private String fileUrlThird;

    @ApiModelProperty("添加时间")
    private Date createTime;

    @ApiModelProperty("编辑时间")
    private Date updateTime;

    @ApiModelProperty("逻辑删除 0正常 1删除")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty("修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date changeTime;
}
